<?php
/**
 * Created by litong on Date: 2018/12/22 0022 上午 9:49
 */
function myTest()
{
  static $x=0;
  echo "变量x的值是:$x";
  echo "<br/>";
  $x++;
}
myTest();
myTest();

function myTest1($y)
{
  echo "变量y的值是:$y";
}
myTest1(13);
?>